// lowcode-service-import-api
import {fetch<%= variableName.slice(0, 1).toUpperCase() + variableName.slice(1) %>} from './api';
// lowcode-service-method
async get<%= variableName.slice(0, 1).toUpperCase() + variableName.slice(1) %>() {
	const res = await fetch<%= variableName.slice(0, 1).toUpperCase() + variableName.slice(1) %>({})
	this.model.<%= variableName %>.value = {
		<% items.map((item, index) => { _%>
			<%= item.key || `item${index+1}` %>: res.result.<%= item.key || `item${index+1}` %>,
		<% }) _%>
		apiResult: res.result
	}
}

